{% load my_filters %}
<!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>过滤器的练习</title>
    </head>
    <body>
    <p>{{ num1|toFixed:2 }}</p>
    <p>{{ num2|toFixed:3 }}</p>
    <p>{{ num3|toFixed:1 }}</p>
    </body>
</html>